† Corresponding author. E-mail:
Project supported by the National Natural Science Foundation for Outstanding Young Scholars, China (Grant No. 11422542), the National Natural Science Foundation of China (Grant Nos. 11605151 and 11675138), and the Shanghai Supercomputer Center of China and Special Program for Applied Research on Super Computation of the NSFC–Guangdong Joint Fund (the second phase).
The square-well (SW) potential is one of the simplest pair potential models and its phase behavior has been clearly revealed, therefore it has become a benchmark for checking new theories or numerical methods. We introduce the generalized canonical ensemble (GCE) into the isobaric replica exchange Monte Carlo (REMC) algorithm to form a novel isobaric GCE-REMC method, and apply it to the study of vapor–liquid transition of SW particles. It is validated that this method can reproduce the vapor–liquid diagram of SW particles by comparing the estimated vapor–liquid binodals and the critical point with those from the literature. The notable advantage of this method is that the unstable vapor–liquid coexisting states, which cannot be detected using conventional sampling techniques, are accessed with a high sampling efficiency. Besides, the isobaric GCE-REMC method can visit all the possible states, including stable, metastable or unstable states during the phase transition over a wide pressure range, providing an effective pathway to understand complex phase transitions during the nucleation or crystallization process in physical or biological systems.
A square-well (SW) potential is one of the simplest interaction models[1–4] and has attracted a huge variety of studies on its structural and thermodynamical properties during the past several decades.[5–15] The SW potential only consists of a hard sphere repulsion and a finite-range constant attraction, and the interaction between a pair of particles separated by a distance r is in the following form:
Many theoretical or numerical methods have been applied to the exploration of the phase diagram of SW particles, such as Gibbs ensemble Monte Carlo (GEMC),[26] grand canonical Monte Carlo,[8] Gibbs-Duhem integration,[27] histogram reweighting,[28] discontinuous molecular dynamics,[7] and perturbation theory.[23] The most frequently used method is GEMC as coexistent binodals can be directly determined by setting two physically separated but thermodynamically equilibrated distinct coexistent bulk phases. However, the thermodynamical quantities of the critical point need to be extrapolated, and the high density phase is not efficiently studied because of the poor probability of particle insertion. Another popular method is the replica exchange Monte Carlo (REMC),[25,29] which involves the simultaneously parallel sampling in replicas of the same system at different temperatures and the exchange of configurations between replicas during the simulation process. It has been found to be effective in enhancing the sampling of the low-energy states on a free-energy landscape with many local minima, and thermodynamical information at different pressures or temperatures can be collected after running a single parallel simulation. Although this method accesses the phase equilibria of many single or multicomponent systems, configurations in the phase-coexisting regions will not be efficiently exchanged with each other as the sampling of configurations is hampered by the high energy barriers between the coexisting distinct phases. Despite these efforts in developing various methods to enhance the sampling of possible states during phase transitions, the difficulty in detecting the metastable states or unstable phase-coexisting states remains.
Recently, several novel algorithms beyond the traditional MC have been proposed, aiming to enhance the sampling efficiency or to predict the critical properties more precisely. A series of algorithms to enhance the sampling[30–33] of possible states has been systematically formulated based on a new ensemble, generalized canonical ensemble (GCE),[34–36] which overcomes the inability of sampling the metastable states or unstable phase-coexisting states during phase transitions by using the conventional numerical methods. They introduced the GCE into the canonical parallel tempering Monte Carlo (PTMC)[36] or the isobaric replica exchange molecular dynamics (REMD).[35] These simulation techniques with the combination of GCE, yield the unimodal Gaussian-like energy distributions with significant overlaps, even if when system states are in phase-coexisting regions, suggesting that by using these GCE-based methods, all the possible states even the unstable phase-coexisting states can be visited. Alternative classes of algorithms are designed beyond the detailed balance condition and also show the promising future for traditional MC.[37–39] The event-chain Monte Carlo,[40,41] has been proposed and applied to the simulation of hard-sphere with repulsive power-law interaction. They identified the first order liquid-hexatic and hexatic-solid transition. Similar irreversible tricks, designed by Hu et al., have been successfully generalized to the lattice system.[42] The critical point of self-avoiding walk was determined with approximately eight times more accuracy than available predictions in the literature.
In this work, we introduce the GCE into the REMC to form a novel GCE-based method, namely the isobaric GCE-REMC, then check its validity and further show advantages in determining the phase diagram of vapor–liquid transition of SW particles. The rest of this paper is organized as follows. Firstly, we briefly introduce the principle of GCE and derive the formula of acceptance probability for three types of attempting movements in the GCE-based isobaric REMC method. Secondly, this novel method is applied to the study of the vapor–liquid phase diagram of SW particles. The validity of this method is checked by calculating the vapor–liquid binodals and critical point, and also by comparing them with those from the literature. Finally, advantages in detecting all possible states during the vapor–liquid transition are demonstrated by analyzing the sampling efficiency and swap acceptance ratio between neighbor replicas.
Simulation ensembles[43–45] are distinguished by selecting the effective potential U(r) in the conformation distribution function W(r),
The GCE is defined by choosing the U(E) as[36]
The isobaric GCE-REMC algorithm is similar to that of the normal isobaric REMC except replacing the internal energy by the GCE effective potential, which comprises three types of trial moves:
Displacement of a randomly selected particle. In isobaric simulations, the internal energy E is replaced by the enthalpy H and the effective potential is
where the effective energy difference is
with the enthalpy difference
Rescale of system volume.
To maintain the pressure at a fixed value, the system volume will be adjusted. In conventional isobaric simulations, the acceptance probability of volume changing from
Exchange of system configuration and volume between neighbor replicas.
In isobaric GCE-REMC simulations, M replicas evolve from the same initial configuration in parallel. They have the same reference inverse temperatures and control parameters but different reference enthalpies. For convenience, we take
With the expressions in GCE[36]
The visiting probability of an NPT system in the enthalpy space is
The critical point is recognized when the vapor and liquid binodals converge to a single point, where the enthalpies of vapor Hv and liquid Hl are equal to each other.
Isobaric GCE-REMC simulations were performed with M = 72 replicas at constant pressure. All systems evolve from the same initial configuration corresponding to a liquid state, where 300 particles are randomly dispersed in a cubic box with a dimension of 7.3 nm × 7.3 nm × 7.3 nm. Periodic boundary conditions are applied in all directions. The maximum particle displacement and volume rescale are adjusted to give ∼50% of acceptance for trial movements. The values of reference inverse temperature β0 of 72 replicas are 1.0 but the values of reference enthalpy H0 are taken from an evenly spaced interval [−1550, 50], and their values of sampling slope α are 0.006. There are 71 replica pairs and replica exchanges between neighbor replicas are performed every 100 MC cycles. The total MC cycles are 3 × 108 and data during the last 1 × 108 cycles are collected for further analyses.
In the following discussion, we focus on the vapor–liquid transition of SW particles with the attraction range parameter λ = 1.5 at various pressures. It has been known that there exists an evident vapor–liquid coexistence line for
Figure
Figure
Figure
Figure
Figures
In summary, we combine the isobaric replica exchange Monte Carlo (REMC) with the generalized canonical ensemble (GCE) to form a novel isobaric GCE-REMC method, and apply this method to the study of vapor–liquid transition of square-well (SW) particles. By comparing the estimated binodals and critical point with those from the literature, we find that this isobaric GCE-REMC method can reproduce the phase diagram of vapor–liquid transition. Moreover, this method shows the notable advantage that the unstable phase-coexisting regions in the vapor–liquid transition, which cannot be visited in conventional numerical simulations, are accessed with a high sampling efficiency. This new method can also work well over a wide pressure range, suggesting that it is a sophisticated tool to detect structural and thermodynamical information of metastable or unstable states during nucleation or the crystallization process in physical or biological systems.
[1] | |
[2] | |
[3] | |
[4] | |
[5] | |
[6] | |
[7] | |
[8] | |
[9] | |
[10] | |
[11] | |
[12] | |
[13] | |
[14] | |
[15] | |
[16] | |
[17] | |
[18] | |
[19] | |
[20] | |
[21] | |
[22] | |
[23] | |
[24] | |
[25] | |
[26] | |
[27] | |
[28] | |
[29] | |
[30] | |
[31] | |
[32] | |
[33] | |
[34] | |
[35] | |
[36] | |
[37] | |
[38] | |
[39] | |
[40] | |
[41] | |
[42] | |
[43] | |
[44] | |
[45] | |
[46] | |
[47] | |
[48] | |
[49] |